/* Layout */
import Layout from "@/layout";

export default {
  path: "/product",
  component: Layout,
  hidden: false,
  alwaysShow: true,
  meta: { title: "商品管理", icon: "commodityManage", noCache: false },
  children: [
    {
      path: "list",
      component: () => import("@/views/order/product/manage/index"),
      name: "List",
      hidden: true,
      meta: { title: "商品列表", icon: "commodityList", noCache: false },
    },
    {
      path: "stackup",
      component: () => import("@/views/order/product/stackup/index"),
      name: "Stackup",
      hidden: true,
      meta: { title: "商品上架", icon: "commodityStackup", noCache: false },
    },
    {
      path: "brand",
      component: () => import("@/views/order/product/brand/index"),
      name: "Brand",
      hidden: false,
      meta: { title: "商品品牌", icon: "commodityBrand", noCache: false },
    },
    {
      path: "type",
      component: () => import("@/views/order/product/type/index"),
      name: "Type",
      hidden: true,
      meta: { title: "商品类型", icon: "commodityType", noCache: false },
    },
  ],
};
